package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName  DataTalkFriendsAgreeDO
 * @Description 会话内容存档开启成员列表
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("data_talk_friends_agree")
public class DataTalkFriendsAgreeDO implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 员工的id
     */
    @TableField(value = "employee_id")
    private Long employeeId;

    /**
     * 员工的code
     */
    @TableField(value = "employee_code")
    private String employeeCode;

    /**
     * 开启会话内容存档的客户id
     */
    @TableField(value = "friends_id")
    private Long friendsId;

    /**
     * 开启会话内容存档的客户code
     */
    @TableField(value = "friends_openid")
    private String friendsOpenid;
    /**
     * 开启状态
     */
    @TableField(value = "agree_status")
    private String agreeStatus;
    /**
     * 欢迎语code，可用于发送欢迎语
     */
    @TableField(value = "welcome_code")
    private String welcomeCode;
    /**
     * 开启时间
     */
    @TableField(value = "change_time")
    private LocalDateTime changeTime;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
}
